package com.example.spring.security.demo.utils;

/**
 * @ClassName UserUtils
 * @Description
 * @Author lichuanqi
 * @Date 2022/5/14 14:43
 * @Version 1.0
 **/
public class UserUtils {
    private UserUtils(){}
    public static final String USER_ID_KEY_HEADER = "login:";
    public static String getUserIdCacheKey(String userId){
        return USER_ID_KEY_HEADER + userId;
    }
}
